package com.wy.System.delayedAndMusic;



import com.wy._07Thread.moreThread.Start;

import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.UnsupportedAudioFileException;
import java.io.IOException;
import java.net.URL;

/**
 * @author 吴宇~
 * @motto 我亦无他，唯手熟尔。
 * @edition jdk1.8
 * @reflection 0-1 喧闹任其喧闹，自由我自为之，我自风情万种，与世无争。
 * @date 2023/04/09/22:13
 */
public class test {
    public static void main(String[] args) throws InterruptedException, UnsupportedAudioFileException, IOException, LineUnavailableException {
        ClassLoader classLoader = test.class.getClassLoader();
        URL resource = classLoader.getResource("music/9924.wav");
        Start.startMusicNewThread(resource.getPath());
        Method_.SimulatedTyping("喧闹任其喧闹，自由我自为之，我自风情万种，与世无争。", 200);
    }
}
